| GUI Help > General > deleteGadget | ||||||||||||||
|
deleteGadget |
||||||||||||||
| [int result=0] = deleteGadget(handle gadget) | ||||||||||||||
|
Description: Deletes a gadget. You should delete any child gadgets first. Optionally delete gadget will return 0. Assign this to the variable containing the handle of the gadget to reset it to 0. This is a useful safety measure as attempting to manipulate a gadget which does not exist will cause a crash, but all plugin commands safely ignore a gadget handle of 0. |
||||||||||||||
|
Return Value: Optional. Always returns 0. |
||||||||||||||
| Parameters: | ||||||||||||||
|
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |